//
//  JLCFBaseWebViewController.h
//  QTZ
//
//  Created by ski on 2017/8/2.
//  Copyright © 2017年 ski. All rights reserved.
//

#import "JLCFRootViewController.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import "WebViewJavascriptBridge.h"
#import "YgMWMCJLCFFuyouInfoModelNQcnsr.h"


@interface JLCFBaseWebViewController : JLCFRootViewController<UIWebViewDelegate>

@property (nonatomic, strong) JSContext *jsContext;
@property WebViewJavascriptBridge* bridge;


@property (nonatomic, strong) UIButton *shareButton;//分享按钮

@property (nonatomic, strong) NSString *url;
@property (nonatomic, assign) BOOL isShareHidden;//控制右上角分享按钮显隐
@property (nonatomic, strong) NSString *shareImage;
@property (nonatomic, strong) NSString *shareTitle;
@property (nonatomic, strong) NSString *shareDesc;
@property (nonatomic, strong) NSString *shareUrl;
@property (nonatomic, assign) BOOL forceBack;//强制返回

@property(nonatomic, strong) YgMWMCJLCFFuyouInfoModelNQcnsr *fuyouinfo;

@property (nonatomic, strong) UIImage *shareIcon;

@property (nonatomic, strong) UIWebView *webView;

- (void)loadRequest;

- (void)addWebView;

- (void)handleShare:(UIButton *)btn;
- (void)nativeback ;

@end
